import os
import config_json
import subprocess
import getpath
def pub():
	src_path=os.path.join(getpath.getpath(),"dist","report_icp")
	args = ["xcopy.exe","/S","/Y", src_path, r"\\10.0.114.230\化学分析室\仪器采集\reports\report_icp"]
	cmd=" ".join(args)
	print(cmd)
	os.system(cmd)
	# subprocess.Popen(args, creationflags=subprocess.CREATE_NEW_PROCESS_GROUP,
	#                                  stdout=subprocess.PIPE, stderr=subprocess.PIPE, stdin=subprocess.PIPE)
pub()